<!-- 
	This is the sign up page, it uses the dashboard layout in: 
	"./layouts/Default.vue" .
 -->

<template>
	<div>

		<!-- Sign Up Image And Headings -->
		<div class="sign-up-header " style="background-image: url('images/bg-signup.jpg')">
			<div class="content animate__animated animate__fadeIn">
				<h1 class="mb-5">No Cheat</h1>
				<p class="text-lg" style="padding-bottom: 50px">一个致力于打造预防游戏虚拟物品交易诈骗信息交流平台</p>
        <a-button  @click="openPage('/info')" size="large" shape="round">进入平台</a-button>
			</div>
		</div>
		<!-- / Sign Up Image And Headings -->
		
		<!-- Sign Up Form -->

		<!-- / Sign Up Form -->



	</div>
</template>

<script>

	export default ({
		data() {
			return {
			}
		},
		beforeCreate() {
			// Creates the form and adds to it component's "form" property.
			this.form = this.$form.createForm(this, { name: 'normal_login' });
		},
		methods: {
			// Handles input validation after submission.
			handleSubmit(e) {
				e.preventDefault();
				this.form.validateFields((err, values) => {
					if ( !err ) {
						console.log('Received values of form: ', values) ;
					}
				});
			},
      openPage(path) {
        this.$router.push({
          path: path
        })
      },
		},

	})

</script>

<style lang="scss">
</style>